package cn.wl.hrm.service;

import cn.wl.hrm.doc.CourseDoc;
import cn.wl.hrm.domain.Course;
import cn.wl.hrm.dto.CourseAddDto;
import cn.wl.hrm.query.CourseQuery;
import cn.wl.hrm.util.PageList;
import com.baomidou.mybatisplus.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author wl
 * @since 2020-04-21
 */
public interface ICourseService extends IService<Course> {

    void saveOrUpdate(CourseAddDto courseAddDto);

    void onLineCourse(Long id);

    void offLineCourse(Long id);

    PageList<CourseDoc> queryCourses(CourseQuery courseQuery);
}
